package ee.propaganda.gparrot.client.app.ajax;

import com.google.gwt.user.client.rpc.AsyncCallback;

import ee.propaganda.gparrot.client.model.LoginInfo;
import ee.propaganda.gparrot.client.model.ServiceInfo;

public interface AuthServiceAsync {
	public void login(String requestUri, AsyncCallback<LoginInfo> async);
	public void getAccess(LoginInfo logininfo, ServiceInfo.ServiceType serviceType, AsyncCallback<String> async);
}
